package com.stylefeng.guns.core.controller;

import com.stylefeng.guns.common.constant.SessionKey;
import com.stylefeng.guns.core.base.controller.BaseController;
import com.stylefeng.guns.core.shiro.ShiroUser;
import com.stylefeng.guns.core.support.HttpKit;

import javax.servlet.http.HttpSession;

/**
 * Created by Admin on 2017/10/3.
 */
public class AdminBaseController extends BaseController{
    protected ShiroUser getShiroUser() {
        return (ShiroUser)super.getSession().getAttribute(SessionKey.CURRENT_USER);
    }
}
